//
//  JMSegmenView.h
//  VoluntaryStar
//
//  Created by xiaorui on 15/9/5.
//  Copyright (c) 2015年 ios. All rights reserved.
//

#import <UIKit/UIKit.h>


@class JMSegmenView;

@protocol JMSegmentViewDelegate <NSObject>

- (void)segmentItemClick:(NSInteger)index seletedButton:(UIButton *)button;

@end

@interface JMSegmenView : UIView

- (instancetype)initWithFrame:(CGRect)frame itemArray:(NSArray *)array;

@property (nonatomic, assign) id delegate;

@end
